//
//  ItemReportTableViewCell.m
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/11/21.
//  Copyright © 2017年 bob. All rights reserved.
//

#import "ItemReportTableViewCell.h"

@implementation ItemReportTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


-(void)setData:(SmallReportData *)data
{
    _data=data;
    
    self.suitNumLabel.text=[NSString stringWithFormat:@"%ld",data.passTotal];
    
    self.NotSuitNumLabel.text=[NSString stringWithFormat:@"%ld",data.notPassTotal];
    
    self.NotAdpatNumLabel.text=[NSString stringWithFormat:@"%ld",data.notSuitableTotal];
    
    self.TotalNumLabel.text=[NSString stringWithFormat:@"%ld",data.total];
    
    self.AleardChangeLabel.text=[NSString stringWithFormat:@"%ld",data.rectifyTotal];
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
